package com.maxd.model;

import javax.persistence.*;
import java.util.Date;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: 房
 * \* Date: 2020/5/27
 * \* Time: 14:28
 * \* 免单实体类
 * \
 */
public class FreeOfChargeModel {


    private Long id;

    /**
     * 分组id
     */
    private Long groupId;

    /**
     * 消息
     */
    private String message;

    /**
     * 消息id
     */
    private Long messageId;

    /**
     * 消息类型
     */
    private String messageType;

    /**
     *
     */
    private String postType;

    /**
     *
     */
    private String rawMessage;

    /**
     *
     */
    private Long selfId;

    /**
     * 时间戳
     */
    private long time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getPostType() {
        return postType;
    }

    public void setPostType(String postType) {
        this.postType = postType;
    }

    public String getRawMessage() {
        return rawMessage;
    }

    public void setRawMessage(String rawMessage) {
        this.rawMessage = rawMessage;
    }

    public Long getSelfId() {
        return selfId;
    }

    public void setSelfId(Long selfId) {
        this.selfId = selfId;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "FreeOfCharge{" +
                "id=" + id +
                ", groupId=" + groupId +
                ", message='" + message + '\'' +
                ", messageId=" + messageId +
                ", messageType='" + messageType + '\'' +
                ", postType='" + postType + '\'' +
                ", rawMessage='" + rawMessage + '\'' +
                ", selfId=" + selfId +
                ", time=" + time +
                '}';
    }
}